//
//  AppDelegate.h
//  Diary
//
//  Created by lanou3g on 15/12/19.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "LLLockViewController.h"
#import "FingerprintViewController.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;


///下面三个属性和一个方法为引导页设置的
@property(nonatomic,strong)UIScrollView *scrollView;
@property(nonatomic,strong)UIPageControl *pageControl;
//为了去控制器添加手势(导航页的最后一张图片)
@property(nonatomic,strong)UIImageView *imageView;
//加载导航视图
-(void)allViews;



- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


// 手势解锁相关
@property (strong, nonatomic) LLLockViewController* lockVc; // 添加解锁界面
- (void)showLLLockViewController:(LLLockViewType)type;

@property (strong, nonatomic) FingerprintViewController* finVC;

- (void)mima;

@end

